import tkinter as tk
import whatToEat_v3


def btnHelloClicked():
    a = whatToEat_v3.what_to_eat()
    labelHello.config(text=a)


top = tk.Tk()

top.title("选菜机")

labelHello = tk.Label(top, text="点击选菜按钮", width=20, fg="blue")

labelHello.pack()

btn = tk.Button(top, text="选菜", command=btnHelloClicked)

btn.pack()

top.mainloop()
